package com.example.demo.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.entity.BookRecommend;
import com.example.demo.mapper.BookRecommendMapper;
import com.example.demo.service.BookRecommendService;

/**
 * 推荐语实现类
 * 
 * @author wang
 *
 */
@Service
public class BookRecommendServiceImpl implements BookRecommendService {

	@Autowired
	private BookRecommendMapper bookRecommendMapper;

	/**
	 * 书推荐
	 */
	@Override
	public List<BookRecommend> recommendWihtContent(Integer id) {
		return bookRecommendMapper.recommendWihtContent(id);
	}

}
